//    Invizible420's Malevolent Ghost v1.5   //
//    Created: 3/11/03                       //
//    Updated 11/28/04                       //  
//    Digiddy777@yahoo.com                   //

******************
SHAMELESS SELF-PROMOTION.... CHECK OUT MY NEW HELLCAT --- WHICH LOOKS MORE LIKE THE REAL THING AND HAS REALLY NICE GRAPPLE AND HOLD PER 3rd ED. RULES.  HE's a MEANIE... WATCH OUT!

******************
This Ghost will use Malevolence (Possession) and also Frightening Moan (Fear Scream) -- very similar to what Ghosts do in 3rd Edition.
Complete with excellent visual effects.

Updated version adds moan visual effect, fixes it so multiple instances of moan and malevolence won't happen, added optional
damage when possessed (Default does Damage, see script to configure how much damage, what type, etc.).
This version the ghosts can pass through creatures's bodies (like a real ghost can ??)
2nd Update: Fixed the death and damage bug, added invisibility visuals, made changes to how the ghost jumps and some safety fixes
            to help prevent the ghost from bugging out when a PC dies or when a PC leaves the server (In theory this should fix
            the 'disappearing into a wall permanently' bug.)  The ghost will do damage now and if it kills the PC it will jump out
            of their body and only at the location where the PC died.  This fixes any respawning issues, so the ghost won't stay inside
            the PC's body when they have respawned.
3rd Update (Final) - Added 3 effects which will happen when the PC is possessed (read the sign in the module for more details) - by default the 3 effects are set to 10% chance of happening each per possession - so that's a 30% chance the ghost will do something... Effect 1 is a random ability decrease, Effect 2 is AC decrease, Effect 3 is blindness - of course if the PC is immune to any of these nothing happens... also the effects only last till the end of the possession.  I also streamlined the system and put everythiing into just 2 scripts. If you are updating from a previous
version... go ahead and delete the scripts i420_ghost*... then import the erf.... last the old ghosts in your module will work as normal, but I included a new ghost which basically is filed better.  Finally I fixed the bug with ghosts using Moan when the PC is dead, and the demo mod... you can respawn now.

Installation:
1.  Place the GHOST_LIMBO waypoint somewhere in your mod (preferably where PCs can not see or get to). [Custom>Waypoint]
2.  Place the COLOR_OBJ placeable also in a place where PCs can not get to. [Custom>Miscellaneous]
3.  Edit the stats for the Ghost to your liking - I did nothing to the stats, and place it somewhere in your mod.  [Custom>Undead>Other]

See the i420_s_osp_ghost script for further customization.

The COLOR_OBJ makes the text appear just like Bioware's colored Saving Throws.
The waypoint is used to jump the Ghost to when it possesses the PC.

Enjoy the Malevolence!!!

- Inviz420